<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>个性功能-狗龄换算</title>
    <!-- 引入bootstrap框架的样式文件 -->
    <link rel="stylesheet" href="../plugins/bootstrap/css/bootstrap.css" type="text/css">

    <style>
        /* 搜索框中样式 */
        .form-control-feedback {
            color: #484848;
            line-height: 46px;
        }

        .row img {
            width: 25px;
            height: 25px;
        }

        /* 导航宽度 */
        .navbar {
            max-height: 80px;
        }

        .navbar-nav>li>a {
            padding-top: 18px;
            height: 60px;
            /* font-size: 18px; */
            /* color:white; */
            color: #484848;
        }

        .navbar-brand {
            padding-top: 8px;
            /* font-size: 18px; */
            height: 60px;
        }

        .navbar-default .navbar-nav>li>a {
            color: #484848;
        }

        .navbar-default .navbar-nav>li>a:hover {
            color: #000;
        }


        /* 下划线动画 */
        .navbar-right li {
            display: inline-block;
            padding: 0 0.8em;
        }

        .navbar-right a {
            position: relative;
            text-decoration: none;
            color: #484848;
            display: block;
            padding: 1.2em 0.8em;
        }

        .nav-underline:before {
            content: "";
            position: absolute;
            bottom: 0;
            width: 0;
            border-bottom: 2px solid #484848;
        }

        .nav-underline:hover:before {
            width: 80%;
        }

        .nav-underline:before {
            -webkit-transition: width 0.5s ease-in-out;
            -moz-transition: width 0.5s ease-in-out;
            -ms-transition: width 0.5s ease-in-out;
            -o-transition: width 0.5s ease-in-out;
            transition: width 0.5s ease-in-out;
        }

        .mynav-underline-active,
        .mynav-underline-active:hover {
            border-bottom: 2px solid #484848;
            text-align: center;
        }

        .navbar-right a {
            /* font-family:'Times New Roman', Times, serif; */
            /* font-weight: bold; */
            font-family: 宋体, sans-serif;
            letter-spacing: 1pt;
            /*字间距离*/
            /* border-bottom : 1px solid #4e5358; 下框线 */
            line-height: 20px;

        }
    </style>
</head>

<body>
    <!--导航-->
    <div class="container-fluid">
        <!-- 使页面铺满整个屏幕 -->
        <div class="row">
            <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
                <div class="container-fluid">
                    <div class="navbar-brand" style="margin-left:10px">
                        <img src="img" href="#"></a>
                    </div>
                    <div class="navbar-brand" style="margin-left:10px">
                        <form class="form-horizontal" role="form">
                            <div class="form-group has-feedback">
                                <div class="modal-md">
                                    <span class="glyphicon glyphicon-search form-control-feedback"></span>
                                    <input id="search" type="text" class="form-control input-lg" placeholder="搜'柴犬'试试">
                                </div>
                            </div>
                        </form>
                    </div>

                    <ul class="nav navbar-nav navbar-right">
                        <li class="pure-menu-selected"><a href="index.html" class="mynav-underline-active"><b>首页</b></a></li>
                        <li><a href="forum/forum.html" class="nav-underline"><b>论坛</b></a></li>
                        <li><a href="PetDynamics/dynamic.html" class="nav-underline"><b>宠物动态</b></a></li>
                        <li><a href="trading/homepage.html" class="nav-underline"><b>二手市场</b></a></li>
                        <li><a href="fun-function.html" class="nav-underline"><b>趣味专区</b></a></li>
                        <li><a href="message-centre.html" class="nav-underline"><b>消息中心</b></a></li>
                        <li><a href="PetPerson/person.html" class="nav-underline"><b>我的</b></a></li>

                    </ul>
                </div>
            </nav>

        </div>
    </div>


    <div class="pe_left" style="margin-top: 100px;margin-left:400px">
        <div style="margin-left: 60px;opacity: 0.5;">
            <img src="../imgs/26.png"/>
        </div>
        <div class="le_box pet_dos" style="height:340px;margin-top: 30px">
            <div class="le_top">
                <div class="tab leyer2">
                    <table>
                        <tr>
                            <th style="font-size: 20px">狗狗体型：</th>
                            <td>
                            <div class="pet_age2">
                            <ul class="tool_breed_list" style="float:right;width:400px;">
                            <li class="too_breed_li">
                             <label>
                            <img width="53" height="35" alt="小型犬" src="http://www.dog126.com/images/dogage/xiao.gif"><input type="radio" value="3" name="rabreed" class="rabreed">
                            小型犬
                            </label>
                            </li>
                            <li class="too_breed_li">
                            <label>
                            <img width="53" height="35" alt="中型犬" src="http://www.dog126.com/images/dogage/zhong.gif"><input type="radio" value="2" name="rabreed" class="rabreed">
                            中型犬
                            </label>
                            </li>
                            <li class="too_breed_li">
                            <label>
                            <img width="53" height="35" alt="大型犬" src="http://www.dog126.com/images/dogage/da.gif"><input type="radio" value="1" name="rabreed" class="rabreed">
                            大型犬
                             </label>
                            </li>
                            </ul>
                            </div>
                            </td>
                        </tr>
                        <tr >
                            <th style="font-size: 20px">狗狗年龄：&nbsp;&nbsp;</th>
                            <td>
                            <input type="text" id="dage" class="tab_input tool_age_val" value=""/>&nbsp;岁 =<span class="font18"> 
                            人类 <input type="text" id="rage" class="tab_input tool_age_result" value=""/> 
                            岁</span>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <br>
                            </td>
                        </tr>
                        <tr>
                            <th></th>
                            
                            <td>
                            
                            <input class="tab_btn tool_age_btn" onclick="calc();" type="submit" value="开始计算"/>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="xts" style="font-size: 10px">
                <h4>小贴士:</h4>
                <p><span class="font_lv">大型犬（26公斤以上）</span>包括拳师、德牧、拉拉、金毛、马犬、杜宾、古牧、灵缇、秋田、阿拉斯加雪橇、罗威那、寻血猎犬、伯恩山犬、藏獒、爱尔兰猎狼犬、大丹……</p>
                <p><span class="font_lv">中型犬（11-25公斤）</span>包括可卡、斗牛犬、大麦町、松师、西伯利亚犬、边牧、沙皮……</p>
                <p><span class="font_lv">小型犬（1-10公斤）</span>包括吉娃娃、约克夏、北京犬、巴哥犬、米你贵宾、腊肠、猎狐梗……</p>
            </div>
        </div>
        </div>
    <!-- bootstrap中的js插件依赖于jquery框架,所以必须先引入jquery的js文件 -->
    <script src="../plugins/jquery/jquery.min.js"></script>
    <!--引入bootstrap的js文件-->
    <script src="../plugins/bootstrap/js/bootstrap.js"></script>

    
    <script>
        $(document).ready(function () {
            $("#search").focus(function () {
                $(this).css("padding-right", "200.5px")
            });
            $("#search").blur(function () {
                $(this).css("padding-right", "42.5px")
            });
        });

    </script>
</body>

</html>